/*
 * @Description:element全局加载
 * @Author: r_yuesheng
 * @Date: 2022-04-14 19:33:07
 * @LastEditTime: 2022-04-14 20:13:23
 * @LastEditors: r_yuesheng
 */
import { ElMessage, ElMessageBox,ElNotification,ElLoading } from 'element-plus';

export default function setGloabElement(app) {
  app.use(ElMessage);
  app.use(ElMessageBox);
  app.use(ElNotification);
  app.use(ElLoading);
  app.config.globalProperties.$message = ElMessage;
  app.config.globalProperties.$messageBox = ElMessageBox;
  app.config.globalProperties.$notification = ElNotification;
}
import 'element-plus/es/components/message/style/css'
import 'element-plus/es/components/message-box/style/css'
import 'element-plus/es/components/notification/style/css'
import 'element-plus/es/components/loading/style/css'



